﻿/*
* HeroArmature.h
*
* 武将骨骼动画基类
*
* create date: 2014.4.11
* create by: leo
*
*/

#ifndef _HEROARMATURE_H_
#define _HEROARMATURE_H_

#include "cocos2d.h"
#include "cocos-ext.h"
#include "../Common.h"

class CHeroArmature : public cocos2d::extension::CCArmature
{
public:
	static CHeroArmature* create(const char *name);

public:
	/*
	 * 切换动画到对应状态
	 *
	 * state 状态
	 */
	virtual void changeStateTo(int state);

	virtual ~CHeroArmature();

protected:
	CHeroArmature();

protected:

};

#endif // _HEROARMATURE_H_
